package com.test.service.impl;

import com.test.dao.SystemFunctionMapper;
import com.test.service.SystemFunctionService;
import com.test.vo.SystemFunctionItem;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class SystemFunctionServiceImpl implements SystemFunctionService {

    @Autowired
    private SystemFunctionMapper systemFunctionMapper;

    @Override
    public List<SystemFunctionItem> getAllSystemFunctionByRoleId(String roleId) {
        return systemFunctionMapper.getAllSystemFunctions(roleId);
    }
}
